Skip to main content
Version: 11.0

Application Group API

GET /api/v2/applicationGroup/group

Description

Get all application groups and basic information about the applications for each group.

Header Parameters

NameDescriptionTypeRequiredDefault
AuthorizationBearer API token/key. The format is Bearer <API_key>StringYes
orgIdThe ID of the organization. The format is OrgId:OrgNameStringYes

Query Parameters

NameDescriptionTypeRequiredDefault
calculateEventStatsNot in use. The calculation of the number of open events or alerts should be performed or noBooleanNotrue
daysThe number of days to go back toIntegerNo1

CURL Example

The below code snippet shows an example of the API call, where <NCE-IP>, <ORG-ID> & <API-TOKEN> are variables.

curl --location 'https://<NCE-IP>/api/v2/applicationGroup/group?calculateEventStats=true&days=1' \
--header 'orgId: <ORG-ID>' \
--header 'Authorization: Bearer <API-TOKEN>'

Response

Upon a successful request, the authentication API returns Status code 200 with the following body:

NameDescriptionType
levelLevel numberInteger
levelNameLevel nameString
groupElementsList of all application groupsArray of objects
- groupIdGroup IDString
- groupNameGroup nameString
- appListList of applications in this application groupArray of objects
-- applicationIdApplication IDString
-- applicationNameApplication nameString
-- levelLevel numberInteger
-- levelNameLevel nameString
- isJVMBoolean
- isSystemCreatedBoolean true/false if the element is automatically createdBoolean
- lastCMDBUpdateTimeLast time the record was pushed to the CMDB. The format is timeyyyy-MM-ddThh:mm:ss.tttZString
childObject
- levelLevel numberInteger
- levelNameLevel nameString
- groupElementsList of all children elementsArray of objects
-- groupIdGroup IDString
-- groupNameGroup nameString
-- appListList of applications in this childArray of objects
-- isJVMBoolean
-- isSystemCreatedBoolean true/false if the element is automatically createdBoolean
-- lastCMDBUpdateTimeLast time the record was pushed to the CMDB. The format is timeyyyy-MM-ddThh:mm:ss.tttZString
- childSub-childrenArray of objects

GET /api/v2/applicationGroup/groupTopology/{groupID}

Description

Get the topology links for all devices in a particular application group.

Path Parameters

NameDescriptionTypeRequiredDefault
groupIDApplication group IDStringYes

Header Parameters

NameDescriptionTypeRequiredDefault
AuthorizationBearer API token/key. The format is Bearer <API_key>StringYes
orgIdThe ID of the organization. The format is OrgId:OrgNameStringYes

CURL Example

The below code snippet shows an example of the API call, where <NCE-IP>, <ORG-ID>, <API-TOKEN> & <GROUP-ID> are variables.

curl --location 'https://<NCE-IP>/api/v2/applicationGroup/groupTopology/<GROUP-ID>' \
--header 'orgId: <ORG-ID>' \
--header 'Authorization: Bearer <API-TOKEN>'

Response

Upon a successful request, the authentication API returns Status code 200 with the following body:

NameDescriptionType
appGroupNameApplication group nameString
appGroupIdApplication group IDString
subGroupsList of applications in this application groupArray of objects
- appGroupNameApplication nameString
- appGroupIdApplication IDString
- subGroupsList of sub-applications in this applicationArray of objects
- childrenList of application childrenArray of objects
- levelLevel numberInteger
- levelNameLevel nameString
childrenList of application sub-groupsArray of objects
levelLevel numberInteger
levelNameLevel nameString